home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 2.iso / relnotes / desktop_eoe / chA.z / chA
Text File  |  2002-10-15  |  12KB  |  265 lines

  1.  
  2.  
  3.  
  4.                                   - 1 -
  5.  
  6.  
  7.  
  8.        7.  _D_e_s_k_t_o_p__S_o_u_n_d_s
  9.  
  10.  
  11.        This appendix explains how to get IRIX Interactive Desktop
  12.        sounds to play correctly, where the soundfiles live, and how
  13.        to change the soundfiles.  In IRIX 6.5, users do not need
  14.        root permission to edit sounds for their login session.
  15.  
  16.  
  17.        7.1  _G_e_t_t_i_n_g__S_o_u_n_d_s__t_o__P_l_a_y
  18.  
  19.  
  20.        For sounds to play correctly in the IRIX Interactive
  21.        Desktop, three conditions must hold:
  22.  
  23.           +o Soundscheme must be running. To check if SoundScheme is
  24.             on, use the cccchhhhkkkkccccoooonnnnffffiiiigggg command.  If it is off, activate
  25.             it with the ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee command and try cccchhhhkkkkccccoooonnnnffffiiiigggg
  26.             again.  If it is still off, it may not be installed;
  27.             see the SoundScheme release notes to install it.
  28.  
  29.           +o The system must not be muted and the volume must be
  30.             sufficiently high.  To control this, use the audio
  31.             customization panel _a_u_d_i_o_p_a_n_e_l available from Desktop >
  32.             Control Audio.  On some systems, the user can also
  33.             control volume by pressing the buttons on the front of
  34.             the workstation.
  35.  
  36.           +o IRIX Interactive Desktop audio feedback must be turned
  37.             on, from the Desktop > Customize > Sounds (_d_t_S_o_u_n_d_s)
  38.             panel's Desktop Sounds toggle.
  39.  
  40.        Sounds generated by the X Window System (like the shell
  41.        beep) usually operate independently of both SoundScheme and
  42.        the System & Desktop Sounds panel audio toggle and can not
  43.        be turned off via those two mechanisms.  Only by turning
  44.        down the volume on the audio panel can the user make the X-
  45.        generated sounds inaudible, but that will have the added
  46.        effect of silencing all IRIX Interactive Desktop sounds.
  47.  
  48.        In IRIX 6.3 and later releases, the user can optionally
  49.        redirect the XKB bells through SoundScheme. To enable this,
  50.        edit (as root) the SoundScheme resources file or (if not
  51.        root) the user's $_H_O_M_E/._X_d_e_f_a_u_l_t_s file and set
  52.        ****ddddeeeeffffaaaauuuullllttttBBBBeeeellllllllNNNNaaaammmmeeee:::: BBBBeeeeeeeepppp.
  53.  
  54.        Some icon types are programmed to never use the visual
  55.        launch effect, or to never use the launch sound (see
  56.        _f_t_r(_1)).  Namely, none of the device icons uses the visual
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                   - 2 -
  71.  
  72.  
  73.  
  74.        launch effect, and none of the sound icons uses the launch
  75.        sound.  Such icons will never exhibit visual or auditory
  76.        launch behavior when they are double-clicked, even when the
  77.        Launch Effect toggle is checked on the _d_e_s_k_t_o_p customization
  78.        panel or when the Desktop Sounds toggle is checked on the
  79.        _d_t_S_o_u_n_d_s customization panel.
  80.  
  81.  
  82.        7.2  _W_h_e_r_e__D_e_s_k_t_o_p__S_o_u_n_d_s__C_o_m_e__F_r_o_m
  83.  
  84.  
  85.        The default sound scheme uses percussive sounds.  These
  86.        sounds play for many file manager operations, including
  87.        opening a folder, removing an icon to the dumpster, removing
  88.        an icon permanently, copying an icon, moving an icon into a
  89.        directory view, and putting away an icon.
  90.  
  91.        The default sound scheme is /_u_s_r/_s_h_a_r_e/_d_a_t_a/_s_o_u_n_d_s/
  92.        _s_o_u_n_d_s_c_h_e_m_e/_s_c_h_e_m_e_s/_d_e_f_a_u_l_t_S_c_h_e_m_e._s_s and the soundfiles
  93.        referenced in that scheme file are in the /_u_s_r/_s_h_a_r_e/_d_a_t_a/
  94.        _s_o_u_n_d_s/_s_o_u_n_d_s_c_h_e_m_e/_s_o_u_n_d_f_i_l_e_s directory.  Modifying the
  95.        settings in the scheme file will change the desktop sounds
  96.        for all users on the machine.
  97.  
  98.        Future IRIX releases may overwrite the scheme and soundfiles
  99.        in these directories.
  100.  
  101.  
  102.        7.3  _C_h_a_n_g_i_n_g__t_h_e__S_o_u_n_d_s
  103.  
  104.  
  105.        With the IRIX 6.5 ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee product installed, there are
  106.        two ways to change IRIX Interactive Desktop sounds: for a
  107.        user's own login session, or for all users on the machine.
  108.        Users do not require root permission to edit sounds for
  109.        their login session.
  110.  
  111.  
  112.        7.3.1  _C_h_a_n_g_i_n_g__t_h_e__S_o_u_n_d_s__f_o_r__O_n_e__U_s_e_r   To edit sounds for
  113.        one user's login session, the user can do the following:
  114.  
  115.  
  116.           +o In the home directory, create a new directory to hold
  117.             custom sounds.  Rename it as _s_o_u_n_d if desired.
  118.  
  119.           +o Place new soundfiles into the _s_o_u_n_d directory.  They
  120.             need to be in AIFF-C format, recorded at 44.1kHz
  121.             sampling rate, about 0.3 seconds in duration, and
  122.             neither too loud nor too soft.  See _s_o_u_n_d_e_d_i_t_o_r(_1) for
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                                   - 3 -
  137.  
  138.  
  139.  
  140.             help editing soundfiles.
  141.  
  142.           +o Open the /_u_s_r/_s_h_a_r_e/_d_a_t_a/_s_o_u_n_d_s/_s_o_u_n_d_s_c_h_e_m_e/_s_c_h_e_m_e_s
  143.             directory.  Copy the _d_e_f_a_u_l_t_S_c_h_e_m_e._s_s file to the
  144.             user's _s_o_u_n_d directory.  Rename the copy to _m_y._s_s if
  145.             desired.
  146.  
  147.           +o Edit the _m_y._s_s file.  Refer to the !!!!-denoted
  148.             descriptions to decide which sounds to change.  To
  149.             change a sound, replace the ssssoooouuuunnnnddddffffiiiilllleeee value with the
  150.             name of a new soundfile of the user's choice.  If
  151.             changing only a few sounds, delete the rest of the file
  152.             and delete the corresponding sound labels from the
  153.             ****ssssoooouuuunnnnddddPPPPaaaalllleeeetttttttteeee list at the top of the file.
  154.  
  155.             Here is an example _m_y._s_s file that modifies just the
  156.             Warning sound, which plays when any new file is created
  157.             on the desktop or in a dirview:
  158.  
  159.               ****ssssoooouuuunnnnddddPPPPaaaalllleeeetttttttteeee:::: WWWWaaaarrrrnnnniiiinnnngggg
  160.  
  161.               ****WWWWaaaarrrrnnnniiiinnnngggg....ssssoooouuuunnnnddddffffiiiilllleeee:::: ////uuuussssrrrr////ppppeeeeoooopppplllleeee////mmmmeeee////ssssoooouuuunnnndddd////jjjjaaaazzzzzzzz____ttttrrrruuuummmmppppeeeetttt....aaaaiiiiffffcccc
  162.  
  163.               ****WWWWaaaarrrrnnnniiiinnnngggg....llllaaaabbbbeeeellll::::     WWWWaaaarrrrnnnniiiinnnngggg
  164.  
  165.  
  166.           +o In a Unix shell, kill SoundScheme with the kkkkiiiillllllllaaaallllllll
  167.             ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee command.  Restart SoundScheme with the
  168.             ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee ----aaaauuuuxxxx $$$$HHHHOOOOMMMMEEEE////ssssoooouuuunnnndddd////mmmmyyyy....ssssssss &&&& command.  This
  169.             will cause SoundScheme to read the _d_e_f_a_u_l_t_S_c_h_e_m_e._s_s
  170.             file then load _m_y._s_s.
  171.  
  172.        After the above procedure, the IRIX Interactive Desktop
  173.        should use a combination of system default sounds (for any
  174.        sounds not defined in _m_y._s_s) and the user's new sounds.  If
  175.        the user's new sounds do not play, then the user should
  176.        inspect _m_y._s_s for typos and verify that the new soundfile is
  177.        in AIFF-C format sampled at 44.1kHz.
  178.  
  179.        The new sounds will remain in effect only until the user
  180.        logs out.  To keep the sounds across logins, the user needs
  181.        to create or edit a $_H_O_M_E/._x_s_e_s_s_i_o_n file as follows:
  182.  
  183.  
  184.           +o Open the /_v_a_r/_X_1_1/_x_d_m directory and copy the
  185.             _X_s_e_s_s_i_o_n._d_t file to the user's home directory, if one
  186.             does not already exist.  The copy mmmmuuuusssstttt be renamed to
  187.             ._x_s_e_s_s_i_o_n before proceeding.
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.                                   - 4 -
  203.  
  204.  
  205.  
  206.           +o Edit the ._x_s_e_s_s_i_o_n file.  Search for the section that's
  207.             marked "BEGIN SOUNDSCHEME MODIFICATIONS."  Change the
  208.             line
  209.               ////uuuussssrrrr////ssssbbbbiiiinnnn////ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee >>>>////ddddeeeevvvv////ccccoooonnnnssssoooolllleeee 2222>>>>&&&&1111 &&&&
  210.             to the following:
  211.               ////uuuussssrrrr////ssssbbbbiiiinnnn////ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee ----aaaauuuuxxxx $$$$HHHHOOOOMMMMEEEE////ssssoooouuuunnnndddd////mmmmyyyy....ssssssss >>>>////ddddeeeevvvv////ccccoooonnnnssssoooolllleeee 2222>>>>&&&&1111 &&&&
  212.             Save the file, then log out and log back in.
  213.  
  214.        With the ._x_s_e_s_s_i_o_n modifications, the user's custom sounds
  215.        will be restored each time the user logs in.  If the user's
  216.        new sounds do not play, then there may be a typo in the
  217.        ._x_s_e_s_s_i_o_n file that the user should fix.
  218.  
  219.        Caution: Changes to the ._x_s_e_s_s_i_o_n file should be made with
  220.        care, as errors can prevent the user from logging in at the
  221.        console.  When the user logs in, ._x_s_e_s_s_i_o_n will run instead
  222.        of the system default /_v_a_r/_X_1_1/_x_d_m/_X_s_e_s_s_i_o_n._d_t script.  It's
  223.        up to users to remember that they have a ._x_s_e_s_s_i_o_n file.
  224.  
  225.  
  226.        7.3.2  _C_h_a_n_g_i_n_g__t_h_e__S_o_u_n_d_s__f_o_r__A_l_l__U_s_e_r_s   To change a sound
  227.        for all users on the machine, do the following:
  228.  
  229.  
  230.           +o Become root, then change directory to
  231.             /_u_s_r/_s_h_a_r_e/_d_a_t_a/_s_o_u_n_d_s/_s_o_u_n_d_s_c_h_e_m_e/_s_c_h_e_m_e_s.
  232.  
  233.           +o Copy _d_e_f_a_u_l_t_S_c_h_e_m_e._s_s to _d_e_f_a_u_l_t_S_c_h_e_m_e._s_s._b_a_k as a
  234.             backup, to make it easy to revert to the original
  235.             scheme if needed.
  236.  
  237.           +o Place a new soundfile into the aforementioned
  238.             _s_o_u_n_d_f_i_l_e_s directory, if it's not already there.
  239.  
  240.           +o Edit the _d_e_f_a_u_l_t_S_c_h_e_m_e._s_s file, and change the
  241.             appropriate ....ssssoooouuuunnnnddddffffiiiilllleeee name to be the filename of the
  242.             new soundfile.
  243.  
  244.           +o In a Unix shell, kill and restart SoundScheme with the
  245.             kkkkiiiillllllllaaaallllllll ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee and ssssoooouuuunnnnddddsssscccchhhheeeemmmmeeee &&&& commands,
  246.             respectively, or by logging out and logging back in.
  247.  
  248.        After the above procedure, whenever a user logs into the
  249.        system, the IRIX Interactive Desktop will use the new sounds
  250.        defined in the _d_e_f_a_u_l_t_S_c_h_e_m_e._s_s file.  If the new sounds do
  251.        not play, then the root user should inspect the
  252.        _d_e_f_a_u_l_t_S_c_h_e_m_e._s_s file for typos, and verify that all new
  253.        soundfiles are in AIFF-C format sampled at 44.1kHz.
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.